package cn.com.pansky.util;

import java.util.HashMap;
import java.util.Map;

public class CodeUtil {

	// 测试地址
//	public static final String WSURL = "http://10.189.129.227:8305/SSCWEB12333/SSCWEB12333?WSDL";
//	public static final String WSADDURL = "http://10.189.129.227:8305/SSCMAKEDATASYSTEM/SSCMAKEDATASYSTEM?WSDL";
	
	// 正式地址
	public static final String WSURL ="http://10.189.128.24:8501/SSCWEB12333/SSCWEB12333?WSDL";
	public static final String WSADDURL ="http://10.189.128.24:8401/SSCMAKEDATASYSTEM/SSCMAKEDATASYSTEM?WSDL";

	public final static Map<String, String> maps = new HashMap<String, String>();
	public final static Map<String, String> nMaps = new HashMap<String, String>();
	static {
		maps.put("010", "操作成功");
		maps.put("020", "网络连接通讯异常");
		maps.put("030", "社会保障号码不存在");
		maps.put("031", "社会保障号码为空");
		maps.put("032", "社会保障号码长度不为18位");
		maps.put("033", "社会保障卡卡号为空");
		maps.put("034", "社会保障卡卡流水号为空");
		maps.put("035", "卡片复位信息（ATR）为空");
		maps.put("036", "受理人为空");
		maps.put("037", "受理人长度超长");
		maps.put("038", "受理时间为空");
		maps.put("039", "受理时间长度超长");
		maps.put("040", "社会保障号码不唯一");
		maps.put("041", "业务流水号为空");
		maps.put("050", "社会保障卡状态错误，现状态为未激活");
		maps.put("051", "社会保障卡状态错误，现状态为正常");
		maps.put("052", "社会保障卡状态错误，现状态为书面挂失");
		maps.put("053", "社会保障卡状态错误，现状态为冻结");
		maps.put("054", "社会保障卡状态错误，现状态为注销");
		maps.put("055", "社会保障卡状态错误，现状态为口头挂失");
		maps.put("056", "社会保障卡状态为非正常状态");
		maps.put("060", "操作执行失败");
		maps.put("070", "密码验证失败");
		maps.put("080", "初始化密码不能办理业务");
		maps.put("090", "PSAM卡号不存在");
		maps.put("091", "PSAM卡号为空");
		maps.put("092", "PSAM卡号、读写器编号不能都为空");
		maps.put("093", "读写器编号不存在");
		maps.put("094", "数据不唯一");
		maps.put("095", "数据异常");
		maps.put("096", "PSAM卡号不存在");
		maps.put("100", "PSAM卡号不唯一");
		maps.put("110", "PASM卡状态错误，现状态为未激活");
		maps.put("112", "PASM卡状态错误，现状态为挂失");
		maps.put("113", "PASM卡状态错误，现状态为冻结");
		maps.put("114", "PASM卡状态错误，现状态为注销");
		maps.put("115", "PASM卡状态错误，状态为非正常状态");
		maps.put("120", "该社会保障号码已办理临时卡");
		maps.put("121", "该社会保障卡补办信息不存在");
		maps.put("122", "该社会保障卡补办信息不唯一");
		maps.put("130", "该社会保障号码临时卡已过期");
		maps.put("140", "该临时卡ATR信息验证失败");
		maps.put("150", "该临时卡已办理过，请注销后再进行制卡");
		maps.put("151", "该人员临时卡登记信息不存在，请先进行临时卡制作登记");
		maps.put("152", "临时卡登记信息不唯一,请检查");
		maps.put("153", "制卡卡号和临时卡登记卡号不一致，请使用登记的临时卡");
		maps.put("0", "未激活");
		maps.put("1", "正常");
		maps.put("2", "挂失");
		maps.put("3", "冻结");
		maps.put("4", "注销");
		maps.put("5", "口头挂失");
		maps.put("error", "发生异常");

		nMaps.put("01", "汉族");
		nMaps.put("02", "蒙古族");
		nMaps.put("03", "回族");
		nMaps.put("04", "藏族");
		nMaps.put("05", "维吾尔族");
		nMaps.put("06", "苗族");
		nMaps.put("07", "彝族");
		nMaps.put("08", "壮族");
		nMaps.put("09", "布依族");
		nMaps.put("10", "朝鲜族");
		nMaps.put("11", "满族");
		nMaps.put("12", "侗族");
		nMaps.put("13", "瑶族");
		nMaps.put("14", "白族");
		nMaps.put("15", "土家族");
		nMaps.put("16", "哈尼族");
		nMaps.put("17", "哈萨克族");
		nMaps.put("18", "傣族");
		nMaps.put("19", "黎族");
		nMaps.put("20", "傈傈族");
		nMaps.put("21", "佤族");
		nMaps.put("22", "畲族");
		nMaps.put("23", "高山族");
		nMaps.put("24", "拉祜族");
		nMaps.put("25", "水族");
		nMaps.put("26", "东乡族");
		nMaps.put("27", "纳西族");
		nMaps.put("28", "景颇族");
		nMaps.put("29", "柯尔克孜族");
		nMaps.put("30", "土族");
		nMaps.put("31", "达翰尔族");
		nMaps.put("32", "仫佬族");
		nMaps.put("33", "羌族");
		nMaps.put("34", "布朗族");
		nMaps.put("35", "撒拉族");
		nMaps.put("36", "毛南族");
		nMaps.put("37", "仡佬族");
		nMaps.put("38", "锡伯族");
		nMaps.put("39", "阿昌族");
		nMaps.put("40", "普米族");
		nMaps.put("41", "塔吉克族");
		nMaps.put("42", "怒族");
		nMaps.put("43", "乌孜别克族");
		nMaps.put("44", "俄罗斯族");
		nMaps.put("45", "鄂温克族");
		nMaps.put("46", "德昂族");
		nMaps.put("47", "保安族");
		nMaps.put("48", "裕固族");
		nMaps.put("49", "京族");
		nMaps.put("50", "塔塔尔族");
		nMaps.put("51", "独龙族");
		nMaps.put("52", "鄂伦春族");
		nMaps.put("53", "赫哲族");
		nMaps.put("54", "门巴族");
		nMaps.put("55", "珞巴族");
		nMaps.put("56", "基诺族");
		nMaps.put("99", "其他");
	}
}
